﻿using Super_Management_Mayhem.Screens.Playing.Players;
using Transformable_Engine_v2.Engine.Graphics;

namespace Super_Management_Mayhem.Control
{
    public class PlayerDefinition
    {
        private Team _team;
        public string Name { get; set; }
        public int Id { get; set; }
        public InputKeys Input { get; set; }
        public int Color { get; set; }

        public Team Team
        {
            get
            {
                return _team ?? (_team = new Team(Color, Name));
            }
            set
            {
                _team = value;
            }
        }
    }
}